<?php
class VB_Homeblock_Fotos extends VB_Db_Table {
	protected $_name = 'vb_homeblock_foto';
	 
	protected $_primary = 'homeblock_foto_id';
	
	protected $_rowClass = 'VB_Homeblock_Foto';
	
	protected $_referenceMap = array(
		'Homeblock' =>array(
			'columns' => 'homeblock_id',
			'refTableClass' => 'VB_Homeblocks',
			'refColumns' => 'homeblock_id',
		),
		'Foto' =>array(
			'columns' => 'foto_id',
			'refTableClass' => 'VB_Fotos',
			'refColumns' => 'foto_id',
		)
	);
}
?>